Set the initial ref_count to 1.
authorFederico Mena Quintero <federico@redhat.com>
Fri, 17 Sep 1999 07:57:25 +0000 (07:57 +0000)
committerArturo Espinosa <unammx@src.gnome.org>
Fri, 17 Sep 1999 07:57:25 +0000 (07:57 +0000)
commit66779b9b266514edd724df619c5ec833fcb61f3f
tree18768c90567e75d4eb9af9856f5618d1549fe6bf
parent6fce115b98578d7b501990e5542c2a8b2048ab3d
Set the initial ref_count to 1.

1999-09-17  Federico Mena Quintero  <federico@redhat.com>

* src/io-bmp.c (image_load): Set the initial ref_count to 1.

* src/io-gif.c (image_load): Likewise.

* src/io-jpeg.c (image_load): Likewise.

* src/io-png.c (image_load): Likewise.

* src/io-tiff.c (image_load): Likewise.

* src/io-xpm.c (_pixbuf_create_from_xpm): Likewise.

* src/gdk-pixbuf-io.c (gdk_pixbuf_load_image): Added an assertion
for the ref_count to be != 0.
gdk-pixbuf/ChangeLog
gdk-pixbuf/gdk-pixbuf-io.c
gdk-pixbuf/io-bmp.c
gdk-pixbuf/io-gif.c
gdk-pixbuf/io-jpeg.c
gdk-pixbuf/io-png.c
gdk-pixbuf/io-tiff.c
gdk-pixbuf/io-xpm.c